inputYear = input("请输入需要进行判断的年份：")
year = int(inputYear)
if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
    print(f"{year}年是闰年")
else:
    print(f"{year}年是平年")
